package com.sand.dao;

import com.sand.entity.Activity;
import com.sand.util.BaseDao;
import org.springframework.stereotype.Repository;

@Repository
public class TestDao extends BaseDao{
    
	public void test() throws Exception{
		Activity activity = (Activity) getSessionFactory().openSession().get(Activity.class, 45);
		System.out.println(activity.getAwardField());
	}
}
